package com.powernode.model.entity.rule;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.powernode.model.entity.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

@EqualsAndHashCode(callSuper = false)
@Data
@Schema(description = "FeeRule")
@TableName("fee_rule")
public class FeeRule extends BaseEntity {
    @Serial
    private static final long serialVersionUID = 1L;
    @Schema(description = "规则名称")
    @TableField("name")
    private String name;
    @Schema(description = "规则代码")
    @TableField("rule")
    private String rule;
    @Schema(description = "状态代码（1：有效、2：关闭）")
    @TableField("status")
    private Integer status;
}